<?php
define("BASEDIR",__DIR__);
include BASEDIR.'/IMooc/Loader.php';
spl_autoload_register('\\IMooc\\Loader::__autoload');
$db = \IMooc\Register::get('db1');
var_dump($db);